package com.crb.crm.manage.oos;

import com.crb.crm.manage.enums.OssType;

import java.io.FileNotFoundException;
import java.io.InputStream;

/**
 * Package: com.crb.crm.manage.oos
 * Description：
 * Author: huangjian
 * Date:  2020/9/10 14:47
 * Modified By:
 */
public interface OSSUtil {
    OssType support();

    boolean upload(InputStream is, String key);

    boolean delete(String key);

    InputStream download(String key) throws FileNotFoundException;
}
